#ifndef CDEQUELIKEUNORDERSET_H
#define CDEQUELIKEUNORDERSET_H

#include <deque>
#include <mutex>

namespace libcvos_vfr
{
	class cDequeLikeUnorderSet
	{
	public: 
		cDequeLikeUnorderSet();
		~cDequeLikeUnorderSet();

		// 禁用拷贝（可选）
		cDequeLikeUnorderSet(const cDequeLikeUnorderSet&) = delete;
		cDequeLikeUnorderSet& operator=(const cDequeLikeUnorderSet&) = delete;

		bool push_back(unsigned long  number);
		bool font_and_pop(unsigned long & number);

		size_t size();

		void clear();

	private:
		struct Impl;                    // 前置声明实现类
		Impl* _pImpl;                    // 指向实现的指针
	};

}
#endif
